package com.alkaid.novel.mapper;

import com.alkaid.commons.entity.Novel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Kylin
 */
@Mapper
public interface NovelMapper extends BaseMapper<Novel> {

    /**
     * Find all list.
     *
     * @param sql the sql
     * @return the list
     */
    Page<Novel> findAll(String sql);
}
